package com.wlan.dao.manage;

import com.wlan.dao.common.AbstractTestCase;
import com.wlanauth.core.criteria.GeneralCriteria;
import com.wlanauth.core.criteria.GeneralCriteriaResult;
import com.wlanauth.domain.manage.Role;

public class RoleTestCase extends AbstractTestCase {

	public void testQuery(){
		
		GeneralCriteria criteria = new GeneralCriteria(Role.class);
		GeneralCriteriaResult<Role> result = criteria.executeQuery();
		
		for(Role r:result.getData()){
			System.out.println("角色："+r.getId());
			
		}
	}
	
	
}
